package mapEditor.vo
{
	import flash.events.Event;
	import flash.events.EventDispatcher;

	public class EditAreaVO extends EventDispatcher
	{
		/**
		 *是否显示编辑区网格 
		 */		
		private var _visibleGrid:Boolean=true;
		/**
		 *是否显示编辑区物件 
		 */		
		private var _visibleAsset:Boolean=true;		
		
		public function EditAreaVO()
		{
		}

		/**
		 *是否显示编辑区网格 
		 */
		public function get visibleGrid():Boolean
		{
			return _visibleGrid;
		}

		/**
		 * @private
		 */
		public function set visibleGrid(value:Boolean):void
		{
			_visibleGrid = value;
		}
		
		public function change():void
		{
			dispatchEvent(new Event(Event.CHANGE));
		}

		/**
		 *是否显示编辑区物件
		 */
		public function get visibleAsset():Boolean
		{
			return _visibleAsset;
		}

		/**
		 * @private
		 */
		public function set visibleAsset(value:Boolean):void
		{
			_visibleAsset = value;
		}

	}
}